//路由菜单

export const menus =[
    {
        path:"/index/ind",
        name:"ind",
        component:()=>import("@/views/home/ind.vue"),
        text:"首页",
        premession:-1,//权限
        icon:"el-icon-document"

    },
    {
        path:"/index/home",
        name:"home",
        component:()=>import("@/views/home/index.vue"),
        text:"查看成绩",
        premession:0,//权限
        icon:"el-icon-document"

    },
    {
        path:"/index/tijiao",
        name:"tijiao",
        component:()=>import("@/views/user/add.vue"),
        text:"提交项目",
        premession:0,//权限
        icon:"el-icon-menu"
        // redirect:"/index/user/add"
    },
    {
        path:"/index/wodexm",
        name:"wodexm",
        component:()=>import("@/views/user/myxm.vue"),
        text:"我的项目",
        // redirect:"/index/user/myxm",
        icon:"el-icon-setting",
        premession:0,//权限
    },
    {
        path:"/index/user",
        name:"user",
        component:()=>import("@/views/user/wode.vue"),
        text:"个人中心",
        // redirect:"/index/user/wode",
        icon:"el-icon-setting",
        premession:0,//权限
    },
    {
        path:"/index/dafen",
        name:"dafen",
        component:()=>import("@/views/teach/index.vue"),
        text:"项目打分",
        // redirect:"/index/user/wode",
        icon:"el-icon-edit-outline",
        premession:1,//权限
    },
    {
        path:"/index/xiaoqu",
        name:"xiaoqu",
        component:()=>import("@/views/teach/school.vue"),
        text:"校区管理",
        // redirect:"/index/user/wode",
        icon:"el-icon-edit",
        premession:1,//权限
    },
    {
        path:"/index/xueke",
        name:"xueke",
        component:()=>import("@/views/teach/xueke.vue"),
        text:"学科管理",
        // redirect:"/index/user/wode",
        icon:"el-icon-setting",
        premession:1,//权限
    },
    {
        path:"/index/banji",
        name:"banji",
        component:()=>import("@/views/teach/banji.vue"),
        text:"班级管理",
        // redirect:"/index/user/wode",
        icon:"el-icon-share",
        premession:1,//权限
    },
    {
        path:"/index/xiangmu",
        name:"xiangmu",
        component:()=>import("@/views/teach/xiangmu.vue"),
        text:"项目管理",
        // redirect:"/index/user/wode",
        icon:"el-icon-menu",
        premession:1,//权限
    },

]